{
	draw(stepData,ctx){
		let {step,state,type} = stepData
		ctx.save()
		ctx.merge(state)
		if(type==="xy"){
			let maxSolve = Math.max.apply(Math,step.map(s=>s.length))
			this.polyline1(step,ctx,maxSolve)
		}
		else
			this.polyline(step,ctx)
		ctx.restore()
	}
}